package com.clothing.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: ArticleImage 
 * @Description: TODO(Entity) 
 * @author Charles 
 * @date 2017年11月7日 上午10:24:34 
 * @version 1.0
 */
@Embeddable
public class ArticleImage implements Serializable
{
    /** 
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
     */ 
    private static final long serialVersionUID = 1L;

    private String image;
    
    private String size;

    @NotEmpty
    @Column(name = "image")
    public String getImage()
    {
        return image;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    @NotEmpty
    @Column(name = "size")
    public String getSize()
    {
        return size;
    }

    public void setSize(String size)
    {
        this.size = size;
    }
}
